package com.api.base.service;

import com.api.base.model.SysUserRole;
import com.api.core.service.Service;

import java.util.List;

/**
 * Created by wanghuiwen on 2020/04/27.
 */
public interface SysUserRoleService extends Service<SysUserRole> {
    SysUserRole getByUserId(Long userId);
    List<SysUserRole> getListByUserId(Long userId);

    void deleteByUserId(Long id);
}
